package com.schoolhelper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

import com.github.dreamyoung.mprelation.AutoLazy;
import com.github.dreamyoung.mprelation.JoinColumn;
import com.github.dreamyoung.mprelation.Lazy;
import com.github.dreamyoung.mprelation.OneToMany;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * (TUser)表实体类
 *
 * @author makejava
 * @since 2021-04-23 21:03:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TUser extends Model<TUser> {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String username;

    private String password;

    //默认0，非VIP
    private String isVip;

    private String school;

    private String phone;

    private String studentId;

    private Integer credit;

    private String profileImg;

}
